/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rie06.rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.List;

/**
 *
 * @author clement
 */
public class MonitoringImpl extends UnicastRemoteObject implements Monitoring {
    
    private Memory memory;
    private Processus processus;
    private Cpu cpu;
    
    public MonitoringImpl() throws RemoteException {
        memory = new MemoryImpl();
        processus = new ProcessusImpl();
        cpu = new CpuImpl();
    }

    public Processus getProcessus() throws RemoteException {
        return processus;
    }

    public Memory getMemory() throws RemoteException {
        return memory;
    }

    public Cpu getCPU() throws RemoteException {
        return cpu;
    }
    
    
    
}
